#ifndef __SENSOR_H__
#define __SENSOR_H__

#include "board.h"

#define Sensor_Of_Shock_IO GPIO_ReadInputDataBit(GPIOD, GPIO_Pin_14)

#define Sensor_Of_Fire_IO GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_1)

#define Sensor_Of_Air_IO GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_0)

void sensor_all_init();

	
void Sensor_Of_Air_Init(void);
void Sensor_Of_Fire_Init(void);
void Sensor_Of_Shock_Init(void);
uint8_t Sensro_Of_DHT11_Init(void);
void Running_Sensors(void);


RT_WEAK void rt_hw_us_delay(rt_uint32_t us);									   

#endif

